package com.ruoyi.loan.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 期数对象 tb_periods
 * 
 * @author jy
 * @date 2023-01-14
 */
public class TbPeriods extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 期数ID */
    private Long periodsId;

    /** 期数种类 */
    @Excel(name = "期数种类")
    private String periodsName;

    /** 状态（0正常 1停用） */
    @Excel(name = "状态", readConverterExp = "0=正常,1=停用")
    private Long status;

    /** 删除标志（0代表存在 2代表删除） */
    private Long delFlag;

    public void setPeriodsId(Long periodsId) 
    {
        this.periodsId = periodsId;
    }

    public Long getPeriodsId() 
    {
        return periodsId;
    }
    public void setPeriodsName(String periodsName) 
    {
        this.periodsName = periodsName;
    }

    public String getPeriodsName() 
    {
        return periodsName;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setDelFlag(Long delFlag) 
    {
        this.delFlag = delFlag;
    }

    public Long getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("periodsId", getPeriodsId())
            .append("periodsName", getPeriodsName())
            .append("status", getStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
